import request from '@/utils/request'

// 查询科技成果数量(年份)
export function getKjcgNumber() {
  return request({
    url: "/achievement/web/CGZHXM/cgzhNum",
    method: "get",
  });
}

// 科技人才
export function getListCount(queryParams) {
  return request({
    url: '/person/web/PERSON_LIBRARY/getListCount',
    method: 'get',
    data:queryParams
  })
}

// 查询科技企业基本信息列表
export function listBASIC1(query) {
  return request({
    url: '/innovate/web/BASIC/list1',
    method: 'get',
    data: query
  })
}

// 获取科技园区列表
export function getKjyqList(param) {
  return request({
    url: `/innovate/web/census/getKjyqCensus`,
    method: "get",
    data: param,
  });
}

// 查询仪器需求列表
export function listYQNEED(query) {
  return request({
    url: '/achievement/web/YQNEED/list',
    method: 'get',
    data: query
  })
}

// 查询金融需求列表
export function listJRNEED(query) {
  return request({
    url: '/achievement/web/JRNEED/list',
    method: 'get',
    data: query
  })
}

//成果系统首页列表统计
export function getNum(data) {
  return request({
    url: '/achievement/web/CGDJSJB/sum',
    method: 'get',
    data: data
  })
}

// 获取技术合同列表
export function getHtList(queryParams) {
  return request({
    url: "/achievement/web/CONTRACT/list",
    method: "get",
    data: queryParams,
  });
}

// 获取技术合同列表
export function getHtList1(queryParams) {
  return request({
    url: "/achievement/web/CONTRACT/list1",
    method: "get",
    data: queryParams,
  });
}

// 获取技术合同列表
export function getHtMoney(queryParams) {
  return request({
    url: "/achievement/web/CONTRACT/money",
    method: "get",
    data: queryParams,
  });
}

// 获取创新平台数量
export function getCXPT(code) {
  return request({
    url: `/techview/web/censusDetail/getCXPT/` + code,
    method: "get",
  });
}

// 查询仪器基本信息列表
export function listYQJBXXB(query) {
  return request({
    url: '/instrument/web/YQJBXXB/list',
    method: 'get',
    data: query
  })
}

// 获取专利信息
export function getPatentCensus(code) {
  return request({
    url: `/techview/web/census/getPatentCensus`,
    method: "get",
  });
}

// 查询陕西省科创板拟上市企业调查列表
export function listSURVEY(query) {
  return request({
    url: "/achievement/web/SURVEY/list",
    method: "get",
    data: query,
  });
}

// 查询招聘信息列表
export function listRECRUIT(query) {
  return request({
    url: '/person/web/RECRUIT/list',
    method: 'get',
    params: query
  })
}

export function getTWANTEDList(queryParams) {

  return request({
    url: '/person/web/WANTED/Tlist',
    method: 'get',
    params: queryParams
  })
}

//文献检索列表
export function listWXJS(queryParams) {
  return request({
    url: '/system/web/WXJSYXB/list',
    method: 'get',
    params: queryParams
  })
}

//科技查新列表
export function listKJCX(queryParams) {
  return request({
    url: '/system/web/KJCXYXB/list',
    method: 'get',
    params: queryParams
  })
}

// 获取揭榜挂帅列表
export function getJbgsAllList(data) {
  const queryparams=data
  return request({
    url: `/cms/web/JBGS/list/`,
    method: 'get',
    params:queryparams
  })
}

// 个人企业用户数量
export function getMemNumber(params) {
  return request({
    url: "/member/web/members/number",
    method: "get",
    params,
  });
}
// 查询可转化成果信息列表
export function listCGZHXM(queryParams) {
  return request({
    url: '/achievement/web/CGZHXM/list',
    method: 'get',
    params: queryParams
  })
}
// 科技成果列表
export function getKjcgList(queryParams) {
  return request({
    url: "/achievement/web/CGDJSJB/list",
    method: "get",
    params: queryParams,
  });
}
// 获取人才信息列表
export function getList(params) {
  return request({
    url: '/person/web/PERSON_LIBRARY/getList',
    method: 'get',
    params
  })
}
// 获取专利信息列表
export function getPatentCensusList(params) {
  return request({
    url: `/achievement/web/PATENT/list`,
    method: "get",
    params,
  });
}
//科技园区
export function getKJYQList(queryParams) {
  return request({
    url: '/innovate/web/LIBRARY/list',
    method: 'get',
    params:queryParams
  })
}